Skip to content

fix: resolve @papra/lecture entry from exports map (build broke on 0.5.1)#5

Merged
ahze merged 1 commit into
daemonless:mainfrom
jtrotsky:lecture-canvas-mjs
Jul 3, 2026
Merged

fix: resolve @papra/lecture entry from exports map (build broke on 0.5.1)#5
ahze merged 1 commit into
daemonless:mainfrom
jtrotsky:lecture-canvas-mjs

Conversation

@jtrotsky

@jtrotsky jtrotsky commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

@papra/lecture 0.5.1 (2026-07-02) renamed its build output dist/index.js -> dist/index.mjs, so the lazy-canvas patch's hardcoded readFileSync path hit ENOENT and failed the FreeBSD build at STEP 19/22. Resolve the entry from the package's exports["."] (module/main fallbacks) so a renamed output no longer breaks the patch; the canvas-pattern drift guard is unchanged.

  • dbuild build --no-cache passes
  • dbuild test currently not passing, I have a local issue with numpy

@ahze ahze merged commit 5541db4 into daemonless:main Jul 3, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants